File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,6 @@ if(MSVC)
34
34
enable_language (ASM_MASM)
35
35
endif ()
36
36
37
- set (CMAKE_C_STANDARD 90)
38
- set (CMAKE_CXX_STANDARD 11)
39
-
40
37
# Customizable options
41
38
option (BuildPortableVersion "Build portable version (does not read or write files from your user/home directory" ON )
42
39
option (BuildMVMP "Whether to create targets for the client (jk2mvmp & jk2mvmenu)" ON )
Original file line number Diff line number Diff line change @@ -502,7 +502,8 @@ if (BuildMVMP)
502
502
PRIVATE $<$<CONFIG:Debug>:${DebugDefines} >
503
503
PRIVATE $<$<CONFIG:Release>:${ReleaseDefines} >
504
504
)
505
-
505
+
506
+ set_target_properties (${MVMP} PROPERTIES CXX_STANDARD 11)
506
507
set_target_properties (${MVMP} PROPERTIES INCLUDE_DIRECTORIES "${MVMPIncludeDirs} " )
507
508
target_link_libraries (${MVMP} ${MVMPLibraries} ${JPEG_LIBRARIES} ${PNG_LIBRARIES} ${MINIZIP_LIBRARIES} ${ZLIB_LIBRARIES} )
508
509
set_target_properties (${MVMP} PROPERTIES PROJECT_LABEL "jk2mvmp" )
@@ -564,11 +565,12 @@ if (BuildMVDED)
564
565
PRIVATE $<$<CONFIG:Debug>:${DebugDefines} >
565
566
PRIVATE $<$<CONFIG:Release>:${ReleaseDefines} >
566
567
)
567
-
568
+
569
+ set_target_properties (${MVDED} PROPERTIES CXX_STANDARD 11)
568
570
set_target_properties (${MVDED} PROPERTIES INCLUDE_DIRECTORIES "${MVDEDIncludeDirs} " )
569
571
target_link_libraries (${MVDED} ${MVDEDLibraries} ${MINIZIP_LIBRARIES} ${ZLIB_LIBRARIES} )
570
572
set_target_properties (${MVDED} PROPERTIES PROJECT_LABEL "jk2mvded" )
571
-
573
+
572
574
# installation
573
575
if (WIN32 OR APPLE )
574
576
install (TARGETS ${MVDED} RUNTIME DESTINATION "." )
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ target_compile_definitions(${MVMENU}
39
39
PRIVATE $<$<CONFIG:Release>:${ReleaseDefines} >
40
40
)
41
41
42
+ set_target_properties (${MVMENU} PROPERTIES C_STANDARD 90)
42
43
set_target_properties (${MVMENU} PROPERTIES INCLUDE_DIRECTORIES "${MVMENUIncludeDirs} " )
43
44
set_target_properties (${MVMENU} PROPERTIES PROJECT_LABEL "jk2mvmenu" )
44
45
You can’t perform that action at this time.
0 commit comments