Skip to content

Commit

Permalink
cmake: don't use EXCLUDE_FROM_ALL with interface libraries
Browse files Browse the repository at this point in the history
Using EXCLUDE_FROM_ALL with interface libraries requires CMake 3.19 or newer, but let's keep the minimum required version to 3.13, which is the last version that runs on Windows 5.x (XP, Server 2003).
  • Loading branch information
Softkandi committed Sep 16, 2024
1 parent 726d2ba commit cec3af1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ set(SRCS
# COMMON LIBRARY
# ------------------------------------------------------------------------------

add_library(tig_common INTERFACE EXCLUDE_FROM_ALL)
add_library(tig_common INTERFACE)

target_include_directories(tig_common INTERFACE
${FPATTERN_INCLUDE_DIR}
Expand Down

0 comments on commit cec3af1

Please sign in to comment.