]> git.lyx.org Git - lyx.git/blobdiff - src/CMakeLists.txt
Cmake build: Creating a define for a header file found
[lyx.git] / src / CMakeLists.txt
index dd9a3609abd62f5531b38630654e8d0b33bb1e86..a922a7b84ecb9fef0d17401dc69aaed934890491 100644 (file)
@@ -4,11 +4,13 @@
 # Copyright (c) 2006-2011 Peter Kümmel, <syntheticpp@gmx.net>
 #
 
-set(_lyx "${PACKAGE_BASE}${PROGRAM_SUFFIX}")
 project(${_lyx})
 
 include_directories(${TOP_SRC_DIR}/src)
 
+set_property(GLOBAL PROPERTY USE_FOLDERS ON)
+set_property(GLOBAL PROPERTY PREDEFINED_TARGETS_FOLDER "CMakeTargets")
+
 add_subdirectory(frontends)
 add_subdirectory(graphics)
 add_subdirectory(insets)
@@ -119,6 +121,8 @@ add_executable(${_lyx}
 
 add_dependencies(${_lyx} lyx_version)
 
+set_target_properties(${_lyx} PROPERTIES FOLDER "applications/LyX")
+
 lyx_add_gcc_pch(${_lyx})
 
 target_link_libraries(${_lyx}