SOURCE_FILES(SRCS CMakeSetupGUI CMakeSetupGUIImplementation FLTKDialog FLTKPropertyItemRow FLTKPropertyList FLTKPropertyNameButtonWithHelp ) LINK_LIBRARIES(${FLTK_LIBRARY}) IF(WIN32) IF(NOT UNIX) LINK_LIBRARIES(wsock32) ENDIF(NOT UNIX) ENDIF(WIN32) INCLUDE_DIRECTORIES(${FLTK_INCLUDE_PATH}) ADD_EXECUTABLE(CMakeSetupDialog SRCS)