- removed some stuff from CMake that no longer applies.

This commit is contained in:
Christoph Oelckers 2022-10-20 22:16:34 +02:00
parent 0ba5803111
commit 7abe718abb
1 changed files with 0 additions and 6 deletions

View File

@ -1,5 +1,4 @@
cmake_minimum_required( VERSION 3.1.0 ) cmake_minimum_required( VERSION 3.1.0 )
cmake_minimum_required( VERSION 3.1.0 )
include(precompiled_headers) include(precompiled_headers)
@ -85,7 +84,6 @@ if( WIN32 )
if( DX_dxguid_LIBRARY ) if( DX_dxguid_LIBRARY )
list( APPEND PROJECT_LIBRARIES "${DX_dxguid_LIBRARY}" ) list( APPEND PROJECT_LIBRARIES "${DX_dxguid_LIBRARY}" )
endif() endif()
list( APPEND PROJECT_LIBRARIES d3d9 )
endif() endif()
else() else()
if( APPLE ) if( APPLE )
@ -1388,10 +1386,6 @@ install(DIRECTORY "${PROJECT_BINARY_DIR}/soundfonts" "${PROJECT_BINARY_DIR}/fm_b
DESTINATION ${INSTALL_SOUNDFONT_PATH} DESTINATION ${INSTALL_SOUNDFONT_PATH}
COMPONENT "Soundfont resources") COMPONENT "Soundfont resources")
if( CMAKE_COMPILER_IS_GNUCXX )
# GCC misoptimizes this file
set_source_files_properties( oplsynth/fmopl.cpp PROPERTIES COMPILE_FLAGS "-fno-tree-dominator-opts -fno-tree-fre" )
endif()
if( DEM_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE ) if( DEM_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
# Need to enable intrinsics for these files. # Need to enable intrinsics for these files.
set_property( SOURCE set_property( SOURCE