cmake: Use standard install way

For specific install customization, use CMAKE_INSTALL_BINDIR, CMAKE_INSTALL_LIBDIR and CMAKE_INSTALL_INCLUDEDIR variables.

See-Also: https://cmake.org/cmake/help/latest/guide/tutorial/Installation%20Commands%20and%20Concepts.html
This commit is contained in:
Esteban DUGUEPEROUX
2025-11-28 16:45:40 +01:00
committed by Thomas Krijnen
parent 0724fac698
commit 083fab5255
8 changed files with 10 additions and 71 deletions
+1 -5
View File
@@ -14,8 +14,4 @@ if(WITH_RELATIONSHIP_VALIDATION)
set_property(TARGET IfcConvert APPEND_STRING PROPERTY COMPILE_FLAGS " -DWITH_RELATIONSHIP_VALIDATION")
endif()
install(TARGETS IfcConvert
ARCHIVE DESTINATION ${LIBDIR}
RUNTIME DESTINATION ${BINDIR}
LIBRARY DESTINATION ${LIBDIR}
)
install(TARGETS IfcConvert)