-
Notifications
You must be signed in to change notification settings - Fork 601
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
THREADLOCAL is unset when configuring project twice #216
Comments
jschueller
added a commit
to jschueller/nlopt
that referenced
this issue
Sep 20, 2018
jschueller
added a commit
to jschueller/nlopt
that referenced
this issue
Sep 20, 2018
@jschueller Absolutely! |
jschueller
added a commit
that referenced
this issue
Sep 20, 2018
dand-oss
pushed a commit
to dand-oss/nlopt
that referenced
this issue
Oct 13, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run CMake once for Visual Studio, nlopt_config.h contains
#define THREADLOCAL __declspec(thread)
Run CMake again, nlopt_config.h contains
#define THREADLOCAL
This is because in CMakeLists.txt,
HAVE_THREAD_LOCAL_STORAGE
is cached but notTHREADLOCAL
. So on second call to CMake,THREADLOCAL
. is not set and remains empty.The text was updated successfully, but these errors were encountered: