Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cmake configuration for cygwin environment #656

Merged
merged 1 commit into from
May 23, 2021

Conversation

romange
Copy link
Contributor

@romange romange commented May 23, 2021

  1. Use CYGWIN variable to test for WIN32 because WIN32 var has been deprecated in later versions of cmake.
  2. Translate TEST_SRC_DIR to windows paths because posix open() calls can not handle unix-like paths in cygwin environment.

@google-cla google-cla bot added the cla: yes label May 23, 2021
CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
1. Use CYGWIN variable to test for WIN32 because WIN32 var has been deprecated in later versions of cmake.
2. Translate TEST_SRC_DIR to windows paths because posix open calls can not handle unix-like paths in cygwin environment.
@romange
Copy link
Contributor Author

romange commented May 23, 2021

PTAL

@sergiud sergiud self-assigned this May 23, 2021
@sergiud sergiud added this to the 0.6 milestone May 23, 2021
@sergiud sergiud merged commit fef48c1 into google:master May 23, 2021
@romange romange deleted the cygwin branch May 23, 2021 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants