Skip to content

Commit

Permalink
Add fake install target, since we are installing nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
pfultz2 committed Sep 12, 2016
1 parent 205f4c2 commit aaeb273
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ enable_language (C)
if (WIN32)
include_directories (${CMAKE_SOURCE_DIR}/include)
install (FILES include/dirent.h DESTINATION include)
else()
cmake_policy(SET CMP0037 OLD) # Supress warnings about fake install
add_custom_target(install) # Fake install target
endif()

# Build example programs
Expand Down

0 comments on commit aaeb273

Please sign in to comment.