Skip to content
Snippets Groups Projects
Commit 18b97653 authored by Julius Nehring-Wirxel's avatar Julius Nehring-Wirxel
Browse files

Fixed only grouping files on Windows, as this does not compile on linux.

parent b505a6c0
No related tags found
1 merge request!8Fixed only grouping files on Windows, as this does not compile on linux.
...@@ -4,7 +4,9 @@ project(PolyMesh) ...@@ -4,7 +4,9 @@ project(PolyMesh)
file(GLOB_RECURSE SOURCE_FILES "src/*.cc") file(GLOB_RECURSE SOURCE_FILES "src/*.cc")
file(GLOB_RECURSE HEADER_FILES "src/*.hh") file(GLOB_RECURSE HEADER_FILES "src/*.hh")
if(MSVC)
source_group(TREE "${CMAKE_CURRENT_SOURCE_DIR}/src" FILES ${SOURCE_FILES} ${HEADER_FILES}) source_group(TREE "${CMAKE_CURRENT_SOURCE_DIR}/src" FILES ${SOURCE_FILES} ${HEADER_FILES})
endif()
add_library(polymesh STATIC ${SOURCE_FILES} ${HEADER_FILES}) add_library(polymesh STATIC ${SOURCE_FILES} ${HEADER_FILES})
target_include_directories(polymesh PUBLIC src/) target_include_directories(polymesh PUBLIC src/)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment