File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ function(link_paddle_exe TARGET_NAME)
119119 ${RDMA_LD_FLAGS}
120120 ${RDMA_LIBS} )
121121 endif ()
122-
122+
123123 if (WITH_PYTHON)
124124 target_link_libraries (${TARGET_NAME}
125125 ${PYTHON_LIBRARIES} )
@@ -136,10 +136,10 @@ function(link_paddle_exe TARGET_NAME)
136136 endif ()
137137
138138 if (WITH_GPU)
139- if (NOT WITH_DSO OR WITH_METRIC)
139+ if (NOT WITH_DSO OR WITH_METRIC)
140140 target_link_libraries (${TARGET_NAME}
141141 ${CUDNN_LIBRARY}
142- ${CUDA_curand_LIBRARY} )
142+ ${CUDA_curand_LIBRARY} )
143143 CUDA_ADD_CUBLAS_TO_TARGET(${TARGET_NAME} )
144144 endif ()
145145
@@ -206,5 +206,5 @@ function(create_resources res_file output)
206206 # Convert hex data for C compatibility
207207 string (REGEX REPLACE "([0-9a-f][0-9a-f])" "0x\\ 1," filedata ${filedata} )
208208 # Append data to output file
209- file (APPEND ${output} "const unsigned char ${filename} [] = {${filedata} };\n const unsigned ${filename} _size = sizeof(${filename} );\n " )
209+ file (APPEND ${output} "const unsigned char ${filename} [] = {${filedata} 0 };\n const unsigned ${filename} _size = sizeof(${filename} );\n " )
210210endfunction ()
You can’t perform that action at this time.
0 commit comments