Cmake: ifx abuse of OBJECT libraries
Use STATIC intermeidate libs for these pieces, to keep older CMake versions happy.
This commit is contained in:
parent
11932bac4e
commit
6dfbda9bd1
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ add_custom_command(
|
|||
#set_source_files_properties(${EMBEDDED_RESOURCE_SOURCES} PROPERTIES GENERATED TRUE)
|
||||
#set_source_files_properties(${EMBEDDED_RESOURCE_HEADERS} PROPERTIES GENERATED TRUE)
|
||||
|
||||
add_library(fgembeddedresources OBJECT
|
||||
add_library(fgembeddedresources STATIC
|
||||
${CMAKE_BINARY_DIR}/src/EmbeddedResources/FlightGear-resources.cxx
|
||||
${CMAKE_BINARY_DIR}/src/EmbeddedResources/FlightGear-resources.hxx)
|
||||
|
||||
|
|
|
@ -29,5 +29,5 @@ set(HEADERS
|
|||
|
||||
flightgear_component(Sound "${SOURCES}" "${HEADERS}")
|
||||
|
||||
add_library(fgvoicesynth OBJECT VoiceSynthesizer.cxx flitevoice.cxx)
|
||||
add_library(fgvoicesynth STATIC VoiceSynthesizer.cxx flitevoice.cxx)
|
||||
target_link_libraries(fgvoicesynth PRIVATE flightgear_flite_hts SimGearScene)
|
||||
|
|
Loading…
Reference in a new issue