Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
CoMISo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
CoMISo
CoMISo
Commits
0b4397ea
Commit
0b4397ea
authored
Mar 15, 2019
by
Max Lyon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
require newer cmake versions on windows and use target_link_directories
parent
4846888e
Pipeline
#9209
passed with stages
in 7 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
CMakeLists.txt
CMakeLists.txt
+7
-0
No files found.
CMakeLists.txt
View file @
0b4397ea
cmake_minimum_required
(
VERSION 3.9
)
if
(
WIN32
)
cmake_minimum_required
(
VERSION 3.13
)
endif
()
#Only set project name if CoMISo is built as stand-alone library
if
(
"
${
PROJECT_NAME
}
"
STREQUAL
""
)
...
...
@@ -417,6 +420,10 @@ message("COMISO_LINK_DIRECTORIES: ${COMISO_LINK_DIRECTORIES}")
if
(
COMISO_LINK_DIRECTORIES
)
set_target_properties
(
CoMISo PROPERTIES LINK_DIRECTORIES
${
COMISO_LINK_DIRECTORIES
}
)
endif
()
if
(
WIN32
)
#TODO: do this also for non windows platforms as soon as we can require cmake 3.13
target_link_directories
(
CoMISo PUBLIC
${
COMISO_LINK_DIRECTORIES
}
)
endif
()
# generate dllexport macros on windows
if
(
WIN32
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment