Skip to content

Commit dd28cfc

Browse files
authored
Try add_definitions("-DCMAKE_C_COMPILER=/usr/bin/gcc")
1 parent dfbde81 commit dd28cfc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

snap-bin/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22
cmake_minimum_required(VERSION 3.1)
33
project(createstructure)
44

5+
add_definitions("-DCMAKE_C_COMPILER=/usr/bin/gcc")
6+
57
add_executable(createstructure createstructure.c)
68
install(TARGETS createstructure RUNTIME DESTINATION bin)

0 commit comments

Comments
 (0)