Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Oct 6, 2024
1 parent faa2c1a commit 03c31a5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,12 @@ else()
add_executable(${PROJECT_NAME} WIN32)
endif()

if(PROJECT_VKQUAKE)
set_property(TARGET ${PROJECT_NAME} PROPERTY C_STANDARD 11)
else()
set_property(TARGET ${PROJECT_NAME} PROPERTY C_STANDARD 90)
endif()

target_compile_definitions(${PROJECT_NAME} PRIVATE
USE_CODEC_UMX
USE_CODEC_WAVE
Expand Down Expand Up @@ -725,8 +731,6 @@ if(PROJECT_SPIKED)
endif()

target_link_libraries(${PROJECT_NAME} PRIVATE ${CMAKE_DL_LIBS})
elseif(PROJECT_VKQUAKE)
set_property(TARGET ${PROJECT_NAME} PROPERTY C_STANDARD 11)
endif()

if(PROJECT_IRONWAIL)
Expand Down

0 comments on commit 03c31a5

Please sign in to comment.