File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,14 @@ configure_file(ngscopeclient-version.h.in ngscopeclient-version.h)
1111# use custom config for imguifiledialog
1212add_compile_definitions (CUSTOM_IMGUIFILEDIALOG_CONFIG= "../ngscopeclient/IGFDConfig.h" )
1313
14- if (MINGW)
15- set (CMAKE_RC_COMPILER_INIT windres)
16- ENABLE_LANGUAGE (RC )
17- SET (CMAKE_RC_COMPILE_OBJECT
18- "<CMAKE_RC_COMPILER> <FLAGS> -O coff <DEFINES> -i <SOURCE> -o <OBJECT>" )
19- endif (MINGW )
20-
21- if (WINDOWS)
14+ if (WIN32 )
15+ set (CMAKE_RC_COMPILER_INIT windres)
16+ ENABLE_LANGUAGE (RC )
17+ if (MINGW)
18+ SET (CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> <FLAGS> -O coff <DEFINES> -i <SOURCE> -o <OBJECT>" )
19+ endif ()
2220 set (RC_FILES "ngscopeclient.rc" )
21+ message (STATUS "Enabling Windows resource support" )
2322else ()
2423 set (RC_FILES "" )
2524endif ()
You can’t perform that action at this time.
0 commit comments