]> git.lyx.org Git - lyx.git/blobdiff - development/cmake/src/insets/CMakeLists.txt
cmake cosmetics
[lyx.git] / development / cmake / src / insets / CMakeLists.txt
index c2fca4605e9d00cd2c393f69a47586a5223272fb..c86faf58d0ed4036265c797c931a79cf21aa6931 100644 (file)
@@ -9,7 +9,7 @@ project(insets)
 file(GLOB insets_sources ${TOP_SRC_DIR}/src/insets/${LYX_CPP_FILES})
 file(GLOB insets_headers ${TOP_SRC_DIR}/src/insets/${LYX_HPP_FILES})
 
-list(REMOVE_ITEM insets_sources ${TOP_SRC_DIR}/src/insets/insettheorem.C)
+list(REMOVE_ITEM insets_sources ${TOP_SRC_DIR}/src/insets/InsetTheorem.cpp)
 
 lyx_add_msvc_pch(insets)
 
@@ -18,10 +18,10 @@ include_directories(${TOP_SRC_DIR}/src/insets)
 
 if(NOT MERGE_FILES)
        add_library(insets ${library_type} ${insets_sources} ${insets_headers})
-else(NOT MERGE_FILES)
+else()
        lyx_const_touched_files(_allinone  insets_sources)
        add_library(insets ${library_type} ${_allinone_files})
-endif(NOT MERGE_FILES)
+endif()
 
 
 project_source_group("${GROUP_CODE}" insets_sources insets_headers)