Fixed lib64 auto-detection (again)
Reverting the "LIB_SUFFIX" change. Assuming recent change was unintentional (otherwise let me know James! :) ).
This commit is contained in:
parent
fee652d54a
commit
6780a0c8d4
@ -16,7 +16,7 @@ macro(simgear_component_common name includePath sourcesList sources headers)
|
|||||||
set(libName "sg${name}")
|
set(libName "sg${name}")
|
||||||
add_library(${libName} STATIC ${sources} ${headers})
|
add_library(${libName} STATIC ${sources} ${headers})
|
||||||
|
|
||||||
install (TARGETS ${libName} ARCHIVE DESTINATION lib${LIB_SUFFIX})
|
install (TARGETS ${libName} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install (FILES ${headers} DESTINATION include/simgear/${includePath})
|
install (FILES ${headers} DESTINATION include/simgear/${includePath})
|
||||||
|
@ -54,9 +54,9 @@ if(SIMGEAR_SHARED)
|
|||||||
# set_property(TARGET SimGearCore PROPERTY PUBLIC_HEADER "${publicHeaders}")
|
# set_property(TARGET SimGearCore PROPERTY PUBLIC_HEADER "${publicHeaders}")
|
||||||
set_property(TARGET SimGearCore PROPERTY LINKER_LANGUAGE CXX)
|
set_property(TARGET SimGearCore PROPERTY LINKER_LANGUAGE CXX)
|
||||||
|
|
||||||
target_link_libraries(SimGearCore ${ZLIB_LIBRARY} ${RT_LIBRARY})
|
target_link_libraries(SimGearCore ${ZLIB_LIBRARY} ${RT_LIBRARY})
|
||||||
install(TARGETS SimGearCore LIBRARY DESTINATION lib${LIB_SUFFIX})
|
install(TARGETS SimGearCore LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||||
|
|
||||||
if(NOT SIMGEAR_HEADLESS)
|
if(NOT SIMGEAR_HEADLESS)
|
||||||
if(LIBSVN_FOUND)
|
if(LIBSVN_FOUND)
|
||||||
add_definitions(${APR_CFLAGS})
|
add_definitions(${APR_CFLAGS})
|
||||||
@ -86,7 +86,7 @@ if(SIMGEAR_SHARED)
|
|||||||
target_link_libraries(SimGearScene ${LIBSVN_LIBRARIES})
|
target_link_libraries(SimGearScene ${LIBSVN_LIBRARIES})
|
||||||
endif(LIBSVN_FOUND)
|
endif(LIBSVN_FOUND)
|
||||||
|
|
||||||
install(TARGETS SimGearScene LIBRARY DESTINATION lib${LIB_SUFFIX})
|
install(TARGETS SimGearScene LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
endif(SIMGEAR_SHARED)
|
endif(SIMGEAR_SHARED)
|
||||||
|
Loading…
Reference in New Issue
Block a user