Skip to content

Remove the if-statement that sets CMAKE_C_FLAGS to -std=c++0x.#416

Merged
tqchen merged 1 commit intodmlc:masterfrom
JiadingGai:master
Jun 24, 2018
Merged

Remove the if-statement that sets CMAKE_C_FLAGS to -std=c++0x.#416
tqchen merged 1 commit intodmlc:masterfrom
JiadingGai:master

Conversation

@JiadingGai
Copy link
Copy Markdown
Contributor

CMAKE_C_FLAGS are for compiling C files, so you need to set the CMAKE_CXX_FLAGS
variable instead. This patch fixes a compilation issue when using clang as the
default C compiler.

CMAKE_C_FLAGS are for compiling C files, so you need to set the CMAKE_CXX_FLAGS
variable instead. This patch fixes a compilation issue when using clang as the
default C compiler.
@tqchen tqchen merged commit d1f09f1 into dmlc:master Jun 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants