]> granicus.if.org Git - json-c/commitdiff
Lowered CMake required version so that Travis CI is able to build, moved include...
authorSteve Gerbino <steve@gerbino.co>
Sun, 25 Sep 2016 22:49:34 +0000 (18:49 -0400)
committerSteve Gerbino <steve@gerbino.co>
Sun, 25 Sep 2016 22:49:34 +0000 (18:49 -0400)
CMakeLists.txt

index 0d7156f4576a2dc7d780cbca230f74af6b0fdd8d..f278d5f5ca9f67cc28e5e7f75eedf52a5fe42b28 100644 (file)
@@ -1,6 +1,6 @@
 #Licensed under the MIT license. See LICENSE file in the project root for full license information.
 
-cmake_minimum_required(VERSION 2.8.11)
+cmake_minimum_required(VERSION 2.8.7)
 project(json-c)
 
 if(MSVC)
@@ -63,5 +63,5 @@ install(TARGETS json-c
     LIBRARY DESTINATION lib
     ARCHIVE DESTINATION lib)
 
-install(DIRECTORY . DESTINATION ${CMAKE_INSTALL_PREFIX}/include FILES_MATCHING PATTERN "*.h")
-install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/ DESTINATION ${CMAKE_INSTALL_PREFIX}/include FILES_MATCHING PATTERN "*.h")
+install(DIRECTORY . DESTINATION ${CMAKE_INSTALL_PREFIX}/include/json-c FILES_MATCHING PATTERN "*.h")
+install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/ DESTINATION ${CMAKE_INSTALL_PREFIX}/include/json-c FILES_MATCHING PATTERN "*.h")