Skip to content

Commit

Permalink
Autowiring should specify its include directory for use with embedded…
Browse files Browse the repository at this point in the history
… mode
  • Loading branch information
codemercenary committed Aug 18, 2014
1 parent 17838ae commit 3493dad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/autowiring/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ endif()
rewrite_header_paths(Autowiring_SRCS)
ADD_MSVC_PRECOMPILED_HEADER("stdafx.h" "stdafx.cpp" Autowiring_SRCS)
add_library(Autowiring STATIC ${Autowiring_SRCS})
if(CMAKE_MAJOR_VERSION GREATER 2)
target_include_directories(Autowiring INTERFACE "../..")
endif()
set_property(TARGET Autowiring PROPERTY FOLDER "Autowiring")

# Might as well reference the boost libraries to satisfy link dependencies, if we know they exist
Expand Down

0 comments on commit 3493dad

Please sign in to comment.