]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/CMakeLists.txt
Merge commit '1a0075a3f03af095ee32ded7f101cac79267f906' into master-merge
[xonotic/netradiant.git] / radiant / CMakeLists.txt
index 3537a7ddc6ed326643ab2b3f5623c7a2d2380cc6..ae33bcea7dd884f5b0babe17e55691a6b323517b 100644 (file)
@@ -34,13 +34,14 @@ set(RADIANTLIST
     error.cpp error.h
     feedback.cpp feedback.h
     filetypes.cpp filetypes.h
+    filterbar.cpp filterbar.h
     filters.cpp filters.h
     findtexturedialog.cpp findtexturedialog.h
-    glwidget.cpp glwidget.h
     grid.cpp grid.h
     groupdialog.cpp groupdialog.h
     gtkdlgs.cpp gtkdlgs.h
     gtkmisc.cpp gtkmisc.h
+       gtktheme.cpp gtktheme.h
     help.cpp help.h
     image.cpp image.h
     main.cpp main.h
@@ -124,6 +125,7 @@ target_link_libraries(${RADIANT_BASENAME}
     splines
     stream
     string
+    transformpath
     uilib
     xmllib
 )
@@ -146,8 +148,11 @@ endif ()
 #   warning: allocated section `.dynstr' not in segment
 # and produce an unusable binary, better not strip when using this hack.
 #
-# This hack is only wanted when NetRadiant is not installed system-wide.
-if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux"    AND NOT FHS_INSTALL)
+# This hack is only wanted for release build and
+# when NetRadiant is not installed system-wide.
+if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux"
+    AND "${CMAKE_BUILD_TYPE}" STREQUAL "Release"
+    AND NOT FHS_INSTALL)
     target_link_libraries(${RADIANT_BASENAME} -no-pie)
 endif()