Commit 0e67bb88 authored by Ghislain MARY's avatar Ghislain MARY Committed by Andrea Gianarda
Browse files

No longer use CMAKE_BUILD_TYPE to allow configuration choice at build time.

No related merge requests found
Showing with 5 additions and 6 deletions
......@@ -63,12 +63,11 @@ target_include_directories(bcg729
)
if(MSVC AND BUILD_SHARED_LIBS)
if(CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
install(FILES $<TARGET_PDB_FILE:bcg729>
DESTINATION ${CMAKE_INSTALL_BINDIR}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
)
endif()
install(FILES $<TARGET_PDB_FILE:bcg729>
DESTINATION ${CMAKE_INSTALL_BINDIR}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
CONFIGURATIONS Debug RelWithDebInfo
)
set_target_properties(bcg729 PROPERTIES PREFIX "lib")
endif()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment