Skip to content

Commit 59b0165

Browse files
committed
Ensure that libcaf.h is early in includes
May fix #388 (issue with Clang 4 on FreeBSD)
1 parent 244b01a commit 59b0165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ include(GNUInstallDirs)
387387
#-------------------------------
388388
# Recurse into the src directory
389389
#-------------------------------
390-
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src)
390+
include_directories(BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/src)
391391

392392
add_subdirectory(src)
393393

0 commit comments

Comments
 (0)