Skip to content

Commit 36687d2

Browse files
committed
adds conditional build of examples
1 parent d25ccba commit 36687d2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,10 @@ else()
1616
endif()
1717

1818
add_subdirectory(postgres_asio)
19+
20+
if(__BUILD_EXAMPLES__)
1921
add_subdirectory(samples)
22+
endif()
23+
24+
25+

0 commit comments

Comments
 (0)