Mercurial > hg > orthanc
comparison OrthancFramework/Resources/CMake/Compiler.cmake @ 4045:05b8fd21089c framework
fix path
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 10 Jun 2020 21:27:31 +0200 |
parents | d25f4c0fa160 |
children | 47e9e788224c |
comparison
equal
deleted
inserted
replaced
4044:d25f4c0fa160 | 4045:05b8fd21089c |
---|---|
73 # 1600), Microsoft ships a standard-compliant <stdint.h> | 73 # 1600), Microsoft ships a standard-compliant <stdint.h> |
74 # header. For earlier versions of Visual Studio, give access to a | 74 # header. For earlier versions of Visual Studio, give access to a |
75 # compatibility header. | 75 # compatibility header. |
76 # http://stackoverflow.com/a/70630/881731 | 76 # http://stackoverflow.com/a/70630/881731 |
77 # https://en.wikibooks.org/wiki/C_Programming/C_Reference/stdint.h#External_links | 77 # https://en.wikibooks.org/wiki/C_Programming/C_Reference/stdint.h#External_links |
78 include_directories(${ORTHANC_ROOT}/Resources/ThirdParty/VisualStudio) | 78 include_directories(${ORTHANC_ROOT}/OrthancFramework/Resources/ThirdParty/VisualStudio) |
79 endif() | 79 endif() |
80 | 80 |
81 link_libraries(netapi32) | 81 link_libraries(netapi32) |
82 endif() | 82 endif() |
83 | 83 |
107 set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined") | 107 set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined") |
108 endif() | 108 endif() |
109 | 109 |
110 if (NOT DEFINED ENABLE_PLUGINS_VERSION_SCRIPT OR | 110 if (NOT DEFINED ENABLE_PLUGINS_VERSION_SCRIPT OR |
111 ENABLE_PLUGINS_VERSION_SCRIPT) | 111 ENABLE_PLUGINS_VERSION_SCRIPT) |
112 set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--version-script=${ORTHANC_ROOT}/Plugins/Samples/Common/VersionScript.map") | 112 set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--version-script=${ORTHANC_ROOT}/OrthancFramework/Resources/VersionScriptPlugins.map") |
113 endif() | 113 endif() |
114 | 114 |
115 # Remove the "-rdynamic" option | 115 # Remove the "-rdynamic" option |
116 # http://www.mail-archive.com/cmake@cmake.org/msg08837.html | 116 # http://www.mail-archive.com/cmake@cmake.org/msg08837.html |
117 set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "") | 117 set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS "") |