Rodolfo Schulz de Lima wrote:
Bill Hoffman escreveu:
Can you give an example that shows the unwanted semicolons?

For sure. Here's the setup:

test.c:
int main() {}

CMakeLists.txt:
list(APPEND CMAKE_C_FLAGS -Wall)
add_executable(test test.c)


OK, list append is having the problem. I will try and figure out why it has the space. For now, you could try this:

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")

-Bill
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to