Skip to content

Commit bc177bc

Browse files
author
Andrew Hyatt
committed
Add CMake option to build unit tests
Pass -DENABLE_TESTS into CMake
1 parent 896b5dc commit bc177bc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ option(FULL_BUILD "Include large items in the build" ON)
6565
option(TARGET_i386 "Enable i386 slices" ON)
6666
option(TARGET_x86_64 "Enable x86_64 slices" ON)
6767
option(DEBIAN_PACKAGING "Packaging for Debian" OFF)
68+
option(ENABLE_TESTS "Install in-prefix unit tests" OFF)
6869

6970
FindDsymutil()
7071

0 commit comments

Comments
 (0)