Fix lib64 mode on Ubuntu 17.04 / CMake 3.7

This commit is contained in:
James Turner 2017-09-28 15:10:21 +01:00
parent 6cd5ac2d0d
commit b342245619

View File

@ -49,7 +49,7 @@ set(CMAKE_OSX_DEPLOYMENT_TARGET "10.7")
# add a dependency on the versino file # add a dependency on the versino file
set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS version) set_property(DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS version)
set(FIND_LIBRARY_USE_LIB64_PATHS ON) set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS TRUE)
# use simgear version also as the SO version (if building SOs) # use simgear version also as the SO version (if building SOs)
SET(SIMGEAR_SOVERSION ${SIMGEAR_VERSION}) SET(SIMGEAR_SOVERSION ${SIMGEAR_VERSION})