Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Suyu
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
many-archive
Suyu
Commits
35e979f0
There was an error fetching the commit references. Please try again later.
Commit
35e979f0
authored
8 years ago
by
freiro
Browse files
Options
Downloads
Patches
Plain Diff
Appending PLATFORM_LIBRARIES instead of redefining them
parent
0c22e52f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+3
-3
3 additions, 3 deletions
CMakeLists.txt
with
3 additions
and
3 deletions
CMakeLists.txt
+
3
−
3
View file @
35e979f0
...
...
@@ -183,12 +183,12 @@ IF (APPLE)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-stdlib=libc++"
)
set
(
CMAKE_EXE_LINKER_FLAGS
"
${
CMAKE_EXE_LINKER_FLAGS
}
-stdlib=libc++"
)
ELSEIF
(
WIN32
)
#WSAPoll and
other fileutil.cpp functionalities
didn't exist before WinNT 6.x (Vista
and up
)
#
WSAPoll and
SHGetKnownFolderPath (AppData/Roaming)
didn't exist before WinNT 6.x (Vista)
add_definitions
(
-D_WIN32_WINNT=0x0600 -DWINVER=0x0600
)
set
(
PLATFORM_LIBRARIES winmm ws2_32
)
if
(
MINGW
)
IF
(
MINGW
)
# PSAPI is the Process Status API
set
(
PLATFORM_LIBRARIES
winmm ws2_32
psapi imm32 version
)
set
(
PLATFORM_LIBRARIES
${
PLATFORM_LIBRARIES
}
psapi imm32 version
)
ENDIF
(
MINGW
)
ELSEIF
(
CMAKE_SYSTEM_NAME MATCHES
"^(Linux|kFreeBSD|GNU|SunOS)$"
)
set
(
PLATFORM_LIBRARIES rt
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment