Mercurial > minori
comparison CMakeLists.txt @ 128:859d2a957940
cmake: set CXX_STANDARD to 17
builds: get wget on linux, don't attempt to mount binfmt_misc on win32/64
I'd prefer staying on C++11, but if constexpr is just so damn sexy...
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Thu, 09 Nov 2023 02:28:22 -0500 |
parents | 4c812fdf82a6 |
children | 28842a8d0c6b |
comparison
equal
deleted
inserted
replaced
127:fb6033e8f872 | 128:859d2a957940 |
---|---|
189 COPYONLY | 189 COPYONLY |
190 ) | 190 ) |
191 endif() | 191 endif() |
192 | 192 |
193 add_executable(minori WIN32 MACOSX_BUNDLE ${SRC_FILES}) | 193 add_executable(minori WIN32 MACOSX_BUNDLE ${SRC_FILES}) |
194 set_property(TARGET minori PROPERTY CXX_STANDARD 11) | 194 set_property(TARGET minori PROPERTY CXX_STANDARD 17) |
195 set_property(TARGET minori PROPERTY AUTOMOC ON) | 195 set_property(TARGET minori PROPERTY AUTOMOC ON) |
196 set_property(TARGET minori PROPERTY AUTORCC ON) | 196 set_property(TARGET minori PROPERTY AUTORCC ON) |
197 | 197 |
198 target_include_directories(minori PUBLIC ${CURL_INCLUDE_DIRS} PRIVATE ${INCLUDE}) | 198 target_include_directories(minori PUBLIC ${CURL_INCLUDE_DIRS} PRIVATE ${INCLUDE}) |
199 target_include_directories(minori PUBLIC ${Qt${QT_VERSION_MAJOR}Widgets_INCLUDE_DIRS}) | 199 target_include_directories(minori PUBLIC ${Qt${QT_VERSION_MAJOR}Widgets_INCLUDE_DIRS}) |