mirror of
https://github.com/json-c/json-c.git
synced 2026-04-03 04:19:07 +08:00
Compare commits
4 Commits
json-c-0.1
...
json-c-0.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
05180c1fa3 | ||
|
|
c86b729b83 | ||
|
|
c56fbb30f5 | ||
|
|
42864e12b0 |
@@ -1,5 +1,4 @@
|
||||
|
||||
cmake_minimum_required(VERSION 2.8) # see ../CMakeLists.txt for why 2.8
|
||||
cmake_minimum_required(VERSION 3.9...3.12) # see ../CMakeLists.txt for why
|
||||
|
||||
if(POLICY CMP0075)
|
||||
cmake_policy(SET CMP0075 NEW)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 3.9)
|
||||
cmake_minimum_required(VERSION 3.9...3.12) # see ../CMakeLists.txt for why
|
||||
add_executable(test1Formatted test1.c parse_flags.c parse_flags.h)
|
||||
target_compile_definitions(test1Formatted PRIVATE TEST_FORMATTED=1)
|
||||
target_link_libraries(test1Formatted PRIVATE ${PROJECT_NAME})
|
||||
|
||||
Reference in New Issue
Block a user