comparison CMakeLists.txt @ 212:6b08fbd7f206

chore: merge branches
author Paper <mrpapersonic@gmail.com>
date Sun, 07 Jan 2024 09:54:50 -0500
parents 71832ffe425a
children 53211cb1e7f5
comparison
equal deleted inserted replaced
211:7cf53145de11 212:6b08fbd7f206
188 add_executable(minori WIN32 MACOSX_BUNDLE ${SRC_FILES}) 188 add_executable(minori WIN32 MACOSX_BUNDLE ${SRC_FILES})
189 set_property(TARGET minori PROPERTY CXX_STANDARD 17) 189 set_property(TARGET minori PROPERTY CXX_STANDARD 17)
190 set_property(TARGET minori PROPERTY AUTOMOC ON) 190 set_property(TARGET minori PROPERTY AUTOMOC ON)
191 set_property(TARGET minori PROPERTY AUTORCC ON) 191 set_property(TARGET minori PROPERTY AUTORCC ON)
192 192
193 target_include_directories(minori PUBLIC ${CURL_INCLUDE_DIRS} PRIVATE ${INCLUDE}) 193 target_include_directories(minori PUBLIC ${Qt${QT_VERSION_MAJOR}Widgets_INCLUDE_DIRS} ${CURL_INCLUDE_DIRS} PRIVATE ${INCLUDE})
194 target_include_directories(minori PUBLIC ${Qt${QT_VERSION_MAJOR}Widgets_INCLUDE_DIRS})
195 target_compile_options(minori PRIVATE -Wall -Wpedantic -Wextra -Wsuggest-override -Wold-style-cast) 194 target_compile_options(minori PRIVATE -Wall -Wpedantic -Wextra -Wsuggest-override -Wold-style-cast)
196 if(APPLE) 195 if(APPLE)
197 target_compile_definitions(minori PUBLIC MACOSX) 196 target_compile_definitions(minori PUBLIC MACOSX)
198 set_target_properties(minori PROPERTIES MACOSX_BUNDLE TRUE) 197 set_target_properties(minori PROPERTIES MACOSX_BUNDLE TRUE)
199 elseif(WIN32) 198 elseif(WIN32)