We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b6431a commit 4df4504Copy full SHA for 4df4504
1 file changed
CMakeLists.txt
@@ -47,9 +47,9 @@ set(SOURCES
47
target_sources(bncsutil PRIVATE ${SOURCES} ${HEADERS})
48
49
if (WIN32)
50
- set(USE_SYSTEM_LIBS 0)
+ option(USE_SYSTEM_LIBS "Use system libraries" OFF)
51
else()
52
- set(USE_SYSTEM_LIBS 1)
+ option(USE_SYSTEM_LIBS "Use system libraries" ON)
53
endif()
54
55
if (CMAKE_GENERATOR_PLATFORM EQUAL "x86")
@@ -100,6 +100,8 @@ endif()
100
install(TARGETS bncsutil RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
101
install(FILES ${HEADERS} DESTINATION include/bncsutil)
102
103
+message("${CMAKE_INCLUDE_PATH}")
104
+
105
#CPack configuration
106
SET(CPACK_GENERATOR "DEB" "RPM")
107
SET(CPACK_PACKAGE_NAME "bncsutil")
0 commit comments