Skip to content

Commit

Permalink
Exclude targets from subprojects
Browse files Browse the repository at this point in the history
  • Loading branch information
svenstaro committed Nov 29, 2017
1 parent 15c2969 commit bb4c6af
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,19 @@ project(glsl-language-server)

find_package(Threads REQUIRED)

add_subdirectory(externals/glslang)
add_subdirectory(externals/glslang EXCLUDE_FROM_ALL)
include_directories(
externals/glslang/
externals/glslang/glslang/Public
externals/glslang/StandAlone
)

add_subdirectory(externals/fmt)
add_subdirectory(externals/fmt EXCLUDE_FROM_ALL)
include_directories(
externals/fmt
)

set(JSON_BuildTests OFF)
add_subdirectory(externals/json)
add_subdirectory(externals/json EXCLUDE_FROM_ALL)
include_directories(
externals/json/src
)
Expand Down

0 comments on commit bb4c6af

Please sign in to comment.