CMakeLists.txt 390 Bytes
Newer Older
1 2
SET (TARGET tilecreator-srtm2)
PROJECT (${TARGET})
Niko Sams's avatar
Niko Sams committed
3 4

include_directories(
5 6
 ${CMAKE_CURRENT_SOURCE_DIR}
 ${CMAKE_CURRENT_BINARY_DIR}
Niko Sams's avatar
Niko Sams committed
7 8
)

9
set( ${TARGET}_SRC main.cpp tccore.cpp )
10
add_definitions(-DTILECREATOR)
11
add_executable( ${TARGET} ${${TARGET}_SRC} )
Niko Sams's avatar
Niko Sams committed
12

13
target_link_libraries( ${TARGET} marblewidget-qt5 )
Niko Sams's avatar
Niko Sams committed
14 15

if (APPLE)
16
  target_link_libraries (${TARGET} ${APP_SERVICES_LIBRARY})
Niko Sams's avatar
Niko Sams committed
17
endif (APPLE)