Skip to content

Commit

Permalink
fix(cmake): Include unix dir to add common path
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti committed Nov 4, 2024
1 parent 5952534 commit c1161b7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,10 @@ if ( "${CMAKE_BUILD_TYPE}" STREQUAL "Debug" )
else()
set( SFCGAL_LIB_NAME "SFCGAL" )
endif()

if ( UNIX )
include(GNUInstallDirs)
endif()
#set( SFCGAL_LIB_NAME ${${CMAKE_BUILD_TYPE}
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/sfcgal-config.in ${CMAKE_CURRENT_BINARY_DIR}/sfcgal-config @ONLY)
install( PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/sfcgal-config DESTINATION bin )
Expand Down

0 comments on commit c1161b7

Please sign in to comment.