Skip to content

Commit

Permalink
Merge pull request #472 from michael-brade/master
Browse files Browse the repository at this point in the history
CMakeLists: allow to use minizip as a subproject with add_subdirectory
  • Loading branch information
nmoinvaz committed May 4, 2020
2 parents d0cdf42 + d2b9242 commit fd96781
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Expand Up @@ -703,7 +703,8 @@ elseif(WIN32)
endif()
endif()

target_include_directories(${PROJECT_NAME} PUBLIC $<INSTALL_INTERFACE:${INSTALL_INC_DIR}>)
target_include_directories(${PROJECT_NAME} PUBLIC $<INSTALL_INTERFACE:${INSTALL_INC_DIR}>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>)

# Install files
if(NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL)
Expand Down

0 comments on commit fd96781

Please sign in to comment.