]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/CMakeLists.txt
Wrap more GTK
[xonotic/netradiant.git] / radiant / CMakeLists.txt
index 287cc951695f4ed0b7280f20d0e4dd455b530c7e..05d79830fe4fa2b56bdcadedc996d9ed325cffc9 100644 (file)
@@ -94,12 +94,13 @@ if (WIN32)
     list(APPEND RADIANTLIST multimon.cpp multimon.h)
 endif()
 
-add_executable(radiant WIN32 radiant.rc ${RADIANTLIST})
+radiant_tool(radiant WIN32 radiant.rc ${RADIANTLIST})
+add_dependencies(radiant modules)
 target_link_libraries(radiant
     ${CMAKE_DL_LIBS}
     ${LIBXML2_LIBRARIES}
     ${OPENGL_gl_LIBRARY}
-    ${${GTK_NS}_LIBRARIES}
+    ${GTK${GTK_TARGET}_LIBRARIES}
     ${GTKGL_LIBRARIES}
     includes
     cmdlib