diff options
author | Austin Ziegler <austin@zieglers.ca> | 2012-04-24 16:06:24 -0400 |
---|---|---|
committer | Lloyd Hilaiel <lloyd@hilaiel.com> | 2014-02-15 10:40:14 +0100 |
commit | 02d677c4fb8ff546170ee661084e2676eadee578 (patch) | |
tree | dce6f74a3e65fa950f4847d61a447b8a1095b421 /reformatter | |
parent | 7a021ff622e8eaf549674eed5d5a805abd59ee1b (diff) | |
download | yajl-02d677c4fb8ff546170ee661084e2676eadee578.tar.gz |
Makes 'nmake install' work.
In BUILDING.WIN32, the following line exists:
nmake install
This doesn't work because the install targets never get built because of
the code:
IF(NOT WIN32)
INSTALL(...)
...
ENDIF()
in several CMakeLists.txt files. There's no reason to disallow INSTALL
on Windows, even if most developers (who use devenv on its own) will
never use it.
Diffstat (limited to 'reformatter')
-rw-r--r-- | reformatter/CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/reformatter/CMakeLists.txt b/reformatter/CMakeLists.txt index 57d2134..42de0b8 100644 --- a/reformatter/CMakeLists.txt +++ b/reformatter/CMakeLists.txt @@ -34,6 +34,4 @@ GET_TARGET_PROPERTY(binPath json_reformat LOCATION) ADD_CUSTOM_COMMAND(TARGET json_reformat POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different ${binPath} ${binDir}) -IF (NOT WIN32) - INSTALL(TARGETS json_reformat RUNTIME DESTINATION bin) -ENDIF () +INSTALL(TARGETS json_reformat RUNTIME DESTINATION bin) |