Mercurial > trustbridge
comparison cinst/CMakeLists.txt @ 363:d10d9bc2e84f
Update Windows api usage. Warning: To build on windows you need
a shell32.dll with SHGetKnownFolder
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 14 Apr 2014 16:57:41 +0000 |
parents | eff8e7ce4dae |
children | 35d6b371ba63 |
comparison
equal
deleted
inserted
replaced
362:857ae1ffdd6f | 363:d10d9bc2e84f |
---|---|
11 ${CMAKE_CURRENT_SOURCE_DIR}/main.c | 11 ${CMAKE_CURRENT_SOURCE_DIR}/main.c |
12 ) | 12 ) |
13 add_executable(cinst ${CINST_SOURCES}) | 13 add_executable(cinst ${CINST_SOURCES}) |
14 | 14 |
15 if (WIN32) | 15 if (WIN32) |
16 set(WIN_EXTRA_LIBS -lcrypt32 -luserenv) | 16 set(WIN_EXTRA_LIBS -lcrypt32 -luserenv -lshell32) |
17 endif(WIN32) | 17 endif(WIN32) |
18 | 18 |
19 target_link_libraries(cinst | 19 target_link_libraries(cinst |
20 m13_common | 20 m13_common |
21 ${PROFILING_LIBS} | 21 ${PROFILING_LIBS} |