Skip to content

Commit 220ce9a

Browse files
authored
Merge pull request #15 from SuperWig/master
Move GNUInstallDirs
2 parents c390c40 + 74112fe commit 220ce9a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ endif ()
5454
option (BITFLAGS_BUILD_SAMPLES "Build examples" ON)
5555
option (BITFLAGS_BUILD_TESTS "Build tests" ON)
5656

57+
include(GNUInstallDirs)
58+
5759
add_library (bitflags INTERFACE)
5860
add_library (bitflags::bitflags ALIAS bitflags)
5961

@@ -90,7 +92,6 @@ endif ()
9092

9193
if (NOT BITFLAGS_SUBPROJECT)
9294
include(CMakePackageConfigHelpers)
93-
include(GNUInstallDirs)
9495

9596
install (TARGETS bitflags EXPORT bitflags-config)
9697

0 commit comments

Comments
 (0)