File tree Expand file tree Collapse file tree 4 files changed +12
-7
lines changed
Expand file tree Collapse file tree 4 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ if(NOT CMAKE_BUILD_TYPE)
2424 set (CMAKE_BUILD_TYPE "Release" )
2525endif ()
2626
27+ message (STATUS "Build type: ${CMAKE_BUILD_TYPE} " )
28+
2729if (NOT DEFINED CMAKE_INSTALL_PREFIX )
2830 if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin" )
2931 set (CMAKE_INSTALL_PREFIX "/usr/local" )
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ FIND_LIBRARY(MINIZIP_LIBRARY NAMES ${MINIZIP_NAMES} )
1919# handle the QUIETLY and REQUIRED arguments and set MINIZIP_FOUND to TRUE if
2020# all listed variables are TRUE
2121INCLUDE (FindPackageHandleStandardArgs)
22- FIND_PACKAGE_HANDLE_STANDARD_ARGS(MiniZip DEFAULT_MSG MINIZIP_LIBRARY MINIZIP_INCLUDE_DIR)
22+ FIND_PACKAGE_HANDLE_STANDARD_ARGS(Minizip DEFAULT_MSG MINIZIP_LIBRARY MINIZIP_INCLUDE_DIR)
2323
2424IF (MINIZIP_FOUND)
2525 SET ( MINIZIP_LIBRARIES ${MINIZIP_LIBRARY} )
Original file line number Diff line number Diff line change @@ -38,14 +38,15 @@ FIND_PACKAGE(XercesC REQUIRED)
3838
3939target_include_directories (colorer
4040 PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} /src/Colorer-library/src
41- PUBLIC ${SPDLOG_INCLUDE_DIR}
42- PUBLIC ${MINIZIP_INCLUDE_DIRS}
43- PUBLIC ${XERCESC_INCLUDE_DIR}
41+ PUBLIC ${SPDLOG_INCLUDE_DIR}
42+ PUBLIC ${MINIZIP_INCLUDE_DIRS}
43+ PUBLIC ${XERCESC_INCLUDE_DIR}
4444 )
4545
46+ #${MINIZIP_LIBRARIES}
4647target_link_libraries (colorer
47- PUBLIC ${MINIZIP_LIBRARIES}
48- PUBLIC ${XERCESC_LIBRARIES}
48+ ${MINIZIP_LIBRARIES}
49+ ${XERCESC_LIBRARIES}
4950 utils
5051 colorer_lib
5152 )
Original file line number Diff line number Diff line change 1- project (colorer_lib VERSION ${COLORER_VERSION} LANGUAGES CXX C )
1+ project (colorer_lib)
22
33#====================================================
44# colorer
@@ -182,6 +182,8 @@ target_include_directories(colorer_lib
182182 )
183183
184184target_link_libraries (colorer_lib
185+ PUBLIC ${MINIZIP_LIBRARIES}
186+ PUBLIC ${XERCESC_LIBRARIES}
185187 ${THREAD_LIBS}
186188 )
187189
You can’t perform that action at this time.
0 commit comments