need static
parent
2934750168
commit
14d0ec8283
|
@ -114,7 +114,7 @@ foreach(S ${BLT_HEADER_FILES})
|
||||||
string(REPLACE "${CMAKE_CURRENT_SOURCE_DIR}/include/" "" SO ${S})
|
string(REPLACE "${CMAKE_CURRENT_SOURCE_DIR}/include/" "" SO ${S})
|
||||||
string(REGEX REPLACE "\/[A-Z|a-z|0-9|_|-]*\\.h" "/" SA ${SO})
|
string(REGEX REPLACE "\/[A-Z|a-z|0-9|_|-]*\\.h" "/" SA ${SO})
|
||||||
list(APPEND BLT_F_HEADERS ${SA})
|
list(APPEND BLT_F_HEADERS ${SA})
|
||||||
install(FILES ${S} DESTINATION /usr/${CMAKE_INSTALL_INCLUDEDIR}/${SA})
|
install(FILES ${S} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${SA})
|
||||||
endforeach ()
|
endforeach ()
|
||||||
|
|
||||||
install(FILES ${CMAKE_BINARY_DIR}/config/blt/config.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/blt/)
|
install(FILES ${CMAKE_BINARY_DIR}/config/blt/config.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/blt/)
|
||||||
|
@ -124,8 +124,8 @@ set_target_properties(${BLT_TARGET} PROPERTIES SOVERSION ${PROJECT_VERSION_MAJOR
|
||||||
|
|
||||||
install(TARGETS ${BLT_TARGET}
|
install(TARGETS ${BLT_TARGET}
|
||||||
CONFIGURATIONS RelWithDebInfo
|
CONFIGURATIONS RelWithDebInfo
|
||||||
LIBRARY DESTINATION /usr/${CMAKE_INSTALL_LIBDIR}
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
PUBLIC_HEADER DESTINATION /usr/${CMAKE_INSTALL_INCLUDEDIR})
|
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||||
|
|
||||||
if(${BUILD_TESTS})
|
if(${BUILD_TESTS})
|
||||||
message("Building test")
|
message("Building test")
|
||||||
|
|
Loading…
Reference in New Issue