File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ set(FLTK_SKIP_OPENGL ON)
2828set (FLTK_SKIP_FORMS ON )
2929set (FLTK_SKIP_IMAGES ON )
3030set (FLTK_SKIP_FLUID ON )
31+
3132find_package (FLTK REQUIRED)
3233
3334set (MACOSX_BUNDLE_ICON_FILE "FreeMajor.icns" )
@@ -60,9 +61,8 @@ add_executable(FreeMajor WIN32 MACOSX_BUNDLE
6061target_compile_definitions (FreeMajor
6162 PRIVATE "PROJECT_VERSION=\" ${PROJECT_VERSION} \" "
6263 PRIVATE "LOCALE_DIRECTORY=\" ${CMAKE_INSTALL_FULL_LOCALEDIR} \" " )
63- target_include_directories (FreeMajor
64- PRIVATE "sources" "${FLTK_INCLUDE_DIR} " )
65- target_link_libraries (FreeMajor PRIVATE "${FLTK_LIBRARIES} " )
64+ target_include_directories (FreeMajor PRIVATE sources )
65+ target_link_libraries (FreeMajor PRIVATE fltk::fltk)
6666
6767if (CMAKE_SYSTEM_NAME STREQUAL "Darwin" )
6868 add_custom_command (TARGET FreeMajor POST_BUILD
You can’t perform that action at this time.
0 commit comments