diff --git a/CMakeLists.txt b/CMakeLists.txt index df37628..80ac3ba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,9 +21,11 @@ set_target_properties(hdrbg PROPERTIES target_compile_options(hdrbg PRIVATE -O2 -Wall -Wextra -fstrict-aliasing) install(TARGETS hdrbg + CONFIGURATIONS Release LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} ) install(FILES ${CMAKE_BINARY_DIR}/hdrbg.pc + CONFIGURATIONS Release DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/pkgconfig ) diff --git a/run.sh b/run.sh index d714167..d0bb8b4 100755 --- a/run.sh +++ b/run.sh @@ -29,7 +29,7 @@ install() cd build cmake .. cmake --build . --parallel - sudo cmake --install . + sudo cmake --install . --config Release } if [ "$1" = rm ]