Skip to content

Commit

Permalink
fixed CMakeLists
Browse files Browse the repository at this point in the history
  • Loading branch information
vitreusx committed Mar 17, 2022
1 parent b5af9de commit 00aeeaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ project(pas-cg LANGUAGES CXX)

add_subdirectory(cg)

if (EXISTS docs)
add_subdirectory(docs EXCLUDE_FROM_ALL)
if (EXISTS ${CMAKE_CURRENT_LIST_DIR}/docs)
add_subdirectory(docs)
endif ()
1 change: 1 addition & 0 deletions docs/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
cmake_minimum_required(VERSION 3.14)
project(cg-docs)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
find_package(Doxygen)
Expand Down

0 comments on commit 00aeeaf

Please sign in to comment.