Skip to content

Commit

Permalink
improved CMake compilation script
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolabertoldi committed Nov 10, 2015
1 parent 3c8a57f commit e2e0a3f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,11 @@ ENDFOREACH()
#INSTALL INCLUDE FILES
FILE(GLOB includes src *.h)
INSTALL(FILES ${includes} DESTINATION include)

add_custom_command(OUTPUT LNS
COMMAND ln -s -f -h lib lib64
WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}
COMMENT "creating link from lib to lib64")

add_custom_target(LinkToLib64 ALL DEPENDS LNS)

0 comments on commit e2e0a3f

Please sign in to comment.